<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Partner extends CI_Controller {

	function index()
	{	
		$this->lang->load('partner', $this->config->item('language'));
		
		$this->load->model('home_model');
		$data['partenaires'] = $this->home_model->list_partenaires();	
		
		// définition des données variables du template
	    
	    $data['title'] = 'Le titre de la page';
	    $data['description'] = 'La description de la page pour les moteurs de recherche';
	    $data['keywords'] = 'les, mots, clés, de, la, page';
	     
	    // on charge la view qui contient le corps de la page
	    $data['content'] = 'partner';
	 
	    // on charge la page dans le template
	    $this->load->view('template/head', $data);
	    $this->load->view('template/template', $data);
	    $this->load->view('template/footer', $data);
	}
}

/* End of file home.php */
/* Location: ./application/controllers/welcome.php */